package net.roobook.cms;

import cn.dev33.satoken.SaManager;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author Roobook
 * @email 327878610@qq.com
 * @link https://roobook.net
 * @Description CMS 入口
 * @date 2023/9/7 8:51
 **/
@SpringBootApplication
@MapperScan("net.roobook.cms.modules.*.dao")
public class RoobookCmsApplication {
    public static void main(String[] args) throws JsonProcessingException {
        SpringApplication.run(RoobookCmsApplication.class, args);
        System.out.println("启动成功，Sa-Token 配置如下：" + SaManager.getConfig());
    }
}
